package com.tledu.production.service.system.impl;

import com.tledu.production.mapper.system.SysResGroupMapper;
import com.tledu.production.model.system.SysResGroup;
import com.tledu.production.service.system.ISysResGroupService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Antg
 * @date 2021/8/18  15:51
 */
@Service
@AllArgsConstructor
public class SysResGroupServiceImpl implements ISysResGroupService {
    private SysResGroupMapper sysResGroupMapper;

    @Override
    public List<SysResGroup> findAll() {
        return sysResGroupMapper.findAll();
    }

    @Override
    public SysResGroup findById(Integer id) {
        return sysResGroupMapper.findById(id);
    }
}
